package com.oktest.measure.db.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.oktest.measure.entity.*

/**
 * @Author hhh
 * @Date 2020/10/23
 */
@Database(
    entities = [HomeNotice::class,
        HomeTask::class,
        HomeTaskDetail::class,
        Measure::class,
        Type::class,
        Device::class,
        Xml::class], version = 3
)
abstract class AppRoomData : RoomDatabase() {
    abstract fun homeNoticeDao(): HomeNoticeDao
    abstract fun homeTaskDao(): HomeTaskDao
    abstract fun measureDao(): MeasureDao
    abstract fun typeDao(): TypeDao
    abstract fun deviceDao(): DeviceDao
    abstract fun xmlDao(): XmlDao
    abstract fun homeTaskDetailDao(): HomeTaskDetailDao
}